﻿using System;
using System.Collections.Generic;
using System.Text;
using Scenario.WorkflowEngine.Scheduler.Data;
using System.Collections;

namespace Scenario.WorkflowEngine.Database.WorkflowProcesses
{
    public class ActivityHelper : Helper
    {
        public IList SelectAllActivities()
        {
            return Mapper().QueryForList("SelectAllActivities", null);
        }

        public IList DynamicGetActivityList(Activity activity)
        {
            return Mapper().QueryForList("dynamicGetActivityList", activity);
        }
        public IList Select(string sStatement, Activity activity)
        {
            return Mapper().QueryForList(sStatement, activity);
        }
    }
}
